fix nits with trackfilter (#1124)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sun, 4 Jun 2023 23:11:07 +0000 (17:11 -0600)
committerGitHub <noreply@github.com>
Sun, 4 Jun 2023 23:11:07 +0000 (17:11 -0600)
* fix nits with trackfilter

* deprecate mapconverter readme.

mapconverter style file was removed in #870

* catch reference files up

README.mapconverter [deleted file]
reference/filter1.txt
reference/help.txt
style/deprecated/README.mapconverter [new file with mode: 0644]
trackfilter.h
xmldoc/filters/options/track-sdistance.xml

diff --git a/README.mapconverter b/README.mapconverter
deleted file mode 100644 (file)
index 9c0791d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Mapconverter is an application used to create userland maps and map data for 
-Mapopolis.com's Mapopolis program.  The mapconverter format is essentially
-waypoint data prepared in a format that the mapconverter application will
-accept.
-
-The steps for using GPSBabel and Mapconverter go something like this:
-
-Step 1: Create a mapconverter file using gpsbabel.
-       ./gpsbabel -i geo -f geocaching.loc -o mapconverter -F foo.txt
-       
-Step 2: Launch mapconverter.exe and choose foo.txt as your input file.
-       Click the begin button to have mapconverter process foo.txt.
-
-If all goes successfully, you should have a file called "foo.pdb" ready
-for syncing with your PDA.  Put it wherever Mapopolis thinks it should be
-on your PDA.
-
-NOTES:
-
-o GPSBabel will write the name of its own output file in the output file
-  it creates as the input for Mapconverter.   Mapconverter will replace 
-  the extension of this filename with ".pdb".
-
-o The PocketPC version of Mapopolis doesn't notice files with the ".pdb"
-  extension.  To make this work, change the extension to ".mlp" when
-  copying the mapconverter output to your PocketPC PDA.
-
-o Mapconverter only works with Mapopolis version 3.x.  Mapopolis version
-  4 will refuse to load mapconverter maps.  There is no known work-around
-  for this at the time of this writing.
-
-o Mapconverter is no longer available from the Mapopolis website.  If you
-  need a copy of mapconverter, ask on your local GPS Software discussion
-  forum and I'm sure someone will have it.  As far as I know, It was never 
-  actually acknowledged/supported by Mapopolis to begin with.
index cab7d2b7c9ac4b4ef425d11db7b93822373d2f59..8241c29ba2865478a5becc14d48ca4679d2a622d 100644 (file)
@@ -30,7 +30,7 @@ option        height  wgs84tomsl      Converts WGS84 ellipsoidal height to orthometric height
 track  Manipulate track lists  https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html
 option track   move    Correct trackpoint timestamps by a delta        string                          https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_move
 option track   pack    Pack all tracks into one        boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_pack
-option track   split   Split by date or time interval (see README)     string                          https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_split
+option track   split   Split by date or time interval  string                          https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_split
 option track   sdistance       Split by distance       string                          https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_sdistance
 option track   merge   Merge multiple tracks for the same way  string                          https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_merge
 option track   name    Use only track(s) where title matches given name        string                          https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_name
index 9b17ea274231840b03c72e1ec38eaa5ab298b5fb..7dfed5b0f39f7a8786fda76dc7697743bf8a2be9 100644 (file)
@@ -462,7 +462,7 @@ Supported data filters:
        track                 Manipulate track lists                            
          move                  Correct trackpoint timestamps by a delta 
          pack                  Pack all tracks into one 
-         split                 Split by date or time interval (see README) 
+         split                 Split by date or time interval 
          sdistance             Split by distance 
          merge                 Merge multiple tracks for the same way 
          name                  Use only track(s) where title matches given name 
diff --git a/style/deprecated/README.mapconverter b/style/deprecated/README.mapconverter
new file mode 100644 (file)
index 0000000..9c0791d
--- /dev/null
@@ -0,0 +1,35 @@
+Mapconverter is an application used to create userland maps and map data for 
+Mapopolis.com's Mapopolis program.  The mapconverter format is essentially
+waypoint data prepared in a format that the mapconverter application will
+accept.
+
+The steps for using GPSBabel and Mapconverter go something like this:
+
+Step 1: Create a mapconverter file using gpsbabel.
+       ./gpsbabel -i geo -f geocaching.loc -o mapconverter -F foo.txt
+       
+Step 2: Launch mapconverter.exe and choose foo.txt as your input file.
+       Click the begin button to have mapconverter process foo.txt.
+
+If all goes successfully, you should have a file called "foo.pdb" ready
+for syncing with your PDA.  Put it wherever Mapopolis thinks it should be
+on your PDA.
+
+NOTES:
+
+o GPSBabel will write the name of its own output file in the output file
+  it creates as the input for Mapconverter.   Mapconverter will replace 
+  the extension of this filename with ".pdb".
+
+o The PocketPC version of Mapopolis doesn't notice files with the ".pdb"
+  extension.  To make this work, change the extension to ".mlp" when
+  copying the mapconverter output to your PocketPC PDA.
+
+o Mapconverter only works with Mapopolis version 3.x.  Mapopolis version
+  4 will refuse to load mapconverter maps.  There is no known work-around
+  for this at the time of this writing.
+
+o Mapconverter is no longer available from the Mapopolis website.  If you
+  need a copy of mapconverter, ask on your local GPS Software discussion
+  forum and I'm sure someone will have it.  As far as I know, It was never 
+  actually acknowledged/supported by Mapopolis to begin with.
index 83ad47b6a5a5e3469ece726374c28f6734f5aeb2..699146b86a09d0f187a8aa2cdfc7e88a03dc7b6f 100644 (file)
@@ -137,7 +137,7 @@ private:
     },
     {
       TRACKFILTER_SPLIT_OPTION, &opt_split,
-      "Split by date or time interval (see README)", nullptr,
+      "Split by date or time interval", nullptr,
       ARGTYPE_STRING, ARG_NOMINMAX, nullptr
     },
     {
index 0846b6b0161f360a6ddc0f24ec94b63f882e648e..9ca5f96e928f9b4f08d69fd0b9eaf442cdba9b03 100644 (file)
@@ -13,7 +13,7 @@
          <para><userinput>
 gpsbabel -t
      -i gpx -f in.gpx
-     -x track,pack,sdistance=0.1k"
+     -x track,pack,sdistance=0.1k
      -o gpx -F out.gpx
 </userinput></para>
         <para> The sdistance option can be combined with the split option.